package cn.tedu.weibo1.pojo.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class UserLoginDTO {
    @NotBlank(message = "username不允许为空")
    @ApiModelProperty(value = "用户名",required = true)
    private String username;
    @NotBlank(message = "password不允许为空")
    @ApiModelProperty(value = "密码",required = true)
    private String password;
}
